package com.itheima.mall.client;

import com.itheima.mall.pojo.Product;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

@FeignClient("mall-pms-server")
public interface PmsProductClient {

    @PostMapping("/product/getProductByIds")
    String getProductByIds(@RequestParam List<Long> pIds);

}
